package com.example.teacherservice.dto;

import java.time.LocalDateTime;
import java.util.Date;

public class StudentProgressDTO {
    private Long id;
    private Long stuId;
    private Long couId;
    private Long chaId;
    private Integer learnedDuration;
    private Integer mediaProgress;
    private Integer mediaDuration;
    private String learnedStatus;
    private Date positioning;

    // 必须添加全参数构造函数
    public StudentProgressDTO(Long id, Long stuId, Long couId, Long chaId,
                              Integer learnedDuration, Integer mediaProgress,
                              Integer mediaDuration, String learnedStatus,
                              Date positioning) {
        // 构造函数实现
        this.id = id;
        this.stuId = stuId;
        this.couId = couId;
        this.chaId = chaId;
        this.learnedDuration = learnedDuration;
        this.mediaProgress = mediaProgress;
        this.mediaDuration = mediaDuration;
        this.learnedStatus = learnedStatus;
        this.positioning = positioning;
    }

    // getters/setters

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStuId() {
        return stuId;
    }

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public Long getCouId() {
        return couId;
    }

    public void setCouId(Long couId) {
        this.couId = couId;
    }

    public Long getChaId() {
        return chaId;
    }

    public void setChaId(Long chaId) {
        this.chaId = chaId;
    }

    public Integer getLearnedDuration() {
        return learnedDuration;
    }

    public void setLearnedDuration(Integer learnedDuration) {
        this.learnedDuration = learnedDuration;
    }

    public Integer getMediaProgress() {
        return mediaProgress;
    }

    public void setMediaProgress(Integer mediaProgress) {
        this.mediaProgress = mediaProgress;
    }

    public Integer getMediaDuration() {
        return mediaDuration;
    }

    public void setMediaDuration(Integer mediaDuration) {
        this.mediaDuration = mediaDuration;
    }

    public String getLearnedStatus() {
        return learnedStatus;
    }

    public void setLearnedStatus(String learnedStatus) {
        this.learnedStatus = learnedStatus;
    }

    public Date getPositioning() {
        return positioning;
    }

    public void setPositioning(Date positioning) {
        this.positioning = positioning;
    }
}